using System;
using System.Collections.Generic;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content.Pipeline;
using Microsoft.Xna.Framework.Content.Pipeline.Graphics;
using Microsoft.Xna.Framework.Content.Pipeline.Processors;

namespace GEContentPipeline
{
    public class GEKeyframe
    {
        TimeSpan timeSpan;
        Matrix transform;

        /// <summary>
        /// Creates a keyframe
        /// </summary>
        /// <param name="time"></param>
        /// <param name="transformValue"></param>
        public GEKeyframe(TimeSpan time, Matrix transformValue)
        {
            timeSpan = time;
            transform = transformValue;
        }

        /// <summary>
        /// The time from the start of the animation to this frame
        /// </summary>
        public TimeSpan TimeSpan { get { return timeSpan; } }

        /// <summary>
        /// The transform matrix for that time
        /// </summary>
        public Matrix Transform { get { return transform; } }
    }
}
